<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒子模型圆角</title>
    <style>
        .box{
            width: 200px;
            height: 200px;
            background-color: pink;
            border-radius: 20px;
        }
        .box1{
            width: 200px;
            height: 200px;
            background-color: pink;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }
        .box2{
            width: 200px;
            height: 200px;
            background-color: pink;
            /* 多值写法：从左上角顺时针赋值，没有取值的的角与对角取值相同 */
            border-radius: 20px 0 0 40px;
        }
    </style>
</head>
<body>
    <div class="box"></div>
    <br>
    <div class="box1"></div>
    <br>
    <div class="box2"></div>
</body>
</html>